package com.xjscrm.console.chat.frame.send;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xjscrm.console.chat.enums.ChatMsgType;
import com.xjscrm.console.dto.chat.ChatGroupDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author mingyang.chen create in 2024/3/12 13:47
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel
public class SPullGroupResultMsg extends SResultMsg {

    @ApiModelProperty("群聊分页信息")
    private Page<ChatGroupDTO> page = new Page<>();

    public SPullGroupResultMsg() {
        this.setResultType(ChatMsgType.s_pull_group.getCode());
        this.setResultTypeDesc(ChatMsgType.s_pull_group.getDesc());
    }
}
